package cn.antia.cep.db.hibernate.bean;

import java.util.*;

import cn.antia.util.GoofyIdeas;

public class User implements java.io.Serializable{
	private Integer id;
	//真实姓名
	private String name;
	//昵称
	private String nickname;
	//父结点ID
	private String password;
	//生日
	private Date birthday;
	//年龄
	private Integer age;
	//学历
	private String degree;
	//用户类型（家长－－学生）
	private Integer userType;
	//Email
	private String email;
	//注册时间
	private Date registerTime;
	//修改时间
	private Date modifyTime = GoofyIdeas.getDefaultDate();
	//最近登录时间
	private Date lastLogonTime;
	//登录次数
	private Integer logonTimes;
	//注释
	private String comment;
	//自我介绍
	private String myIntroduction;
	//生效标志
	private Integer valid = new Integer(1);
	//电话
	private String tel;
	//地址
	private String address;
	//性别
	private String sex;
	//密码提示问题
	private String passQuestion;
	//密码提示问题答案
	private String passQuestionAnswer;
	
	public Integer getValid() {
		return valid;
	}
	public void setValid(Integer valid) {
		this.valid = valid;
	}
	public String getMyIntroduction() {
		return myIntroduction;
	}
	public void setMyIntroduction(String myIntroduction) {
		this.myIntroduction = myIntroduction;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getLastLogonTime() {
		return lastLogonTime;
	}
	public void setLastLogonTime(Date lastLogonTime) {
		this.lastLogonTime = lastLogonTime;
	}
	public Integer getLogonTimes() {
		return logonTimes;
	}
	public void setLogonTimes(Integer logonTimes) {
		this.logonTimes = logonTimes;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
	public Integer getUserType() {
		return userType;
	}
	public void setUserType(Integer userType) {
		this.userType = userType;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String gender) {
		this.sex = gender;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getPassQuestion() {
		return passQuestion;
	}
	public void setPassQuestion(String passQuestion) {
		this.passQuestion = passQuestion;
	}
	public String getPassQuestionAnswer() {
		return passQuestionAnswer;
	}
	public void setPassQuestionAnswer(String passQuestionAnswer) {
		this.passQuestionAnswer = passQuestionAnswer;
	}
}
